package com.colin.datamove.entity;

import java.util.Date;

public class AssetDepartmentUser extends MoveFlag {
    private static final long serialVersionUID = -8553981992138331737L;

    private Long id;

    /**
     * 员工表id
     */
    private Long assetUserId;

    /**
     * 员工名称 方便 部门+名称 匹配手动录入员工信息 冗余存一份
     */
    private String name;

    /**
     * 一级公司id
     */
    private Long rootCompanyId;

    /**
     * 所属公司id
     */
    private Long companyId;

    /**
     * 所属部门id（一级部门或二级部门 只表示最底层部门id）
     */
    private Long departmentId;

    /**
     * 是否离职
     */
    private Integer isLeave;

    /**
     * outType 外部用户类型
     */
    private Integer outType;

    /**
     * 数据状态 0 为正常
     */
    private Integer dataStatus;

    private Date cdate;

    private Date mdate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAssetUserId() {
        return assetUserId;
    }

    public void setAssetUserId(Long assetUserId) {
        this.assetUserId = assetUserId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getRootCompanyId() {
        return rootCompanyId;
    }

    public void setRootCompanyId(Long rootCompanyId) {
        this.rootCompanyId = rootCompanyId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getIsLeave() {
        return isLeave;
    }

    public void setIsLeave(Integer isLeave) {
        this.isLeave = isLeave;
    }

    public Integer getOutType() {
        return outType;
    }

    public void setOutType(Integer outType) {
        this.outType = outType;
    }

    public Integer getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(Integer dataStatus) {
        this.dataStatus = dataStatus;
    }

    public Date getCdate() {
        return cdate;
    }

    public void setCdate(Date cdate) {
        this.cdate = cdate;
    }

    public Date getMdate() {
        return mdate;
    }

    public void setMdate(Date mdate) {
        this.mdate = mdate;
    }
}
